package com.globant.dashboard.persist;

public class LanguageValidator {
	
	private static String[] availableLanguages = { "Spanish", "English",
		"German", "French", "Italian" };
	
	public LanguageValidator(){
		
	}
	
	
	public boolean isLanguage(String language) {
		for (String lang : availableLanguages) {
			if (lang.equals(language)) {
				return true;
			}
		}
		return false;
	}

}
